<div class="gastos form">
<?php echo $this->Form->create('Gasto'); ?>
	<fieldset>
		<legend><?php echo __('Edit Gasto'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('meta_id');
		echo $this->Form->input('fuente_id');
		echo $this->Form->input('estado');
		echo $this->Form->input('plan_contable_id');
		echo $this->Form->input('clasificador_id');
		echo $this->Form->input('fecha_documento');
		echo $this->Form->input('importe');
		echo $this->Form->input('debehaber');
		echo $this->Form->input('ingreso');
		echo $this->Form->input('glosa');
		echo $this->Form->input('fecha_contable');
		echo $this->Form->input('documento_tipo_id');
		echo $this->Form->input('serie');
		echo $this->Form->input('numero');
		echo $this->Form->input('orden_compra');
		echo $this->Form->input('ruc_dni');
		echo $this->Form->input('razon_social');
		echo $this->Form->input('direccion');
		echo $this->Form->input('impuesto');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Gasto.id')), array(), __('Are you sure you want to delete # %s?', $this->Form->value('Gasto.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Gastos'), array('action' => 'index')); ?></li>
		<li><?php echo $this->Html->link(__('List Metas'), array('controller' => 'metas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Meta'), array('controller' => 'metas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Fuentes'), array('controller' => 'fuentes', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Fuente'), array('controller' => 'fuentes', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Plan Contables'), array('controller' => 'plan_contables', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Plan Contable'), array('controller' => 'plan_contables', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Clasificadors'), array('controller' => 'clasificadors', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Clasificador'), array('controller' => 'clasificadors', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Documento Tipos'), array('controller' => 'documento_tipos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Documento Tipo'), array('controller' => 'documento_tipos', 'action' => 'add')); ?> </li>
	</ul>
</div>
